package com.example.demo.entity.requestJson;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author : 洪俊新
 * @date : 2021/3/5 18:06
 * @description:
 */
@ApiModel("发布帖子一级评论请求Json类")
public class PostOnelevelCommentReq {
    /**
     * 评论人userId
     * isnull 0
     */        @ApiModelProperty(value="评论人userId",position=2)
    private String userId;
    /**
     * 评论帖子id
     * isnull 0
     */        @ApiModelProperty(value="评论帖子id",position=3)
    private String postId;
    /**
     * 评论的内容
     * isnull 0
     */        @ApiModelProperty(value="评论的内容",position=11)
    private String content;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPostId() {
        return postId;
    }

    public void setPostId(String postId) {
        this.postId = postId;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    @Override
    public String toString() {
        return "PostOnelevelCommentReq{" +
                "userId='" + userId + '\'' +
                ", postId='" + postId + '\'' +
                ", content='" + content + '\'' +
                '}';
    }
}
